<!DOCTYPE html>
<html>
    <head>
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'territoryFlexFieldCategory.label', default: 'TerritoryFlexFieldCategory')}" />
        <title>区域-弹性域模块</title>
    </head>
    <body class="fixed-navbar fixed-sidebar">
        <div class="small-header">
            <div class="hpanel">
                <div class="panel-body">
                    <div id="hbreadcrumb" class="pull-right">
                        <ol class="hbreadcrumb breadcrumb">
                            <li>贷款管理系统</li>
                            <li class="active">
                                <span>区域-弹性域模块</span>
                            </li>
                        </ol>
                    </div>

                    <h2 class="font-light m-b-xs">
                        区域-弹性域模块
                    </h2>
                </div>
            </div>
        </div>
        <div class="content animate-panel">
            <div class="row">
                <div class="hpanel hgreen">
                    <div class="panel-heading">
                        所有区域-弹性域模块
                    </div>
                    <div class="panel-body">
                        <div class="table-responsive">
                            <table class="table table-striped table-bordered table-hover">
                                <thead>
                                <tr>
                                    <g:sortableColumn property="territory" title="${message(code: 'territoryFlow.territory.name.label', default: '区域名称')}" />
                                    <g:sortableColumn property="opportunityType.name" title="${message(code: 'territoryFlow.stage.label', default: '订单类型')}" />
                                    <g:sortableColumn property="flexFieldCategory" title="${message(code: 'territoryFlow.stage.label', default: '弹性域模块')}" />
                                </tr>
                                </thead>
                                <tbody>
                                <g:each in="${territoryFlexFieldCategoryList}">
                                    <tr>
                                        <td>${it.territory?.name}</td>
                                        <td>${it.opportunityType?.name}</td>
                                        <td>${it.flexFieldCategory?.name}</td>
                                    </tr>
                                </g:each>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <div class="panel-footer">
                        <div class="pagination">
                            <g:paginate total="${territoryFlexFieldCategoryCount ?: 0}" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>